package seu.evaluation.metric;


/**
 * 
 * @author samantha
 * RFC:Response For Class,对一个类的响应
 * 一个类相关联的方法和对象的个数
 *
 */

public class CouplingRFC extends MaintainabilityMetricStrategy{
	
	public CouplingRFC(){}

	@Override
	protected String getType() {
		return "CouplingRFC";
	}

	@Override
	protected double differentMetricMethod(MaintainabilityEntity entity) {	
		return entity.getS()+entity.getE()+entity.getR();
	}

	@Override
	protected void preprocess() {}

}
